Searching in All forums
(344 results)
Andy King
S3 licensed
Quote from Tim NL :Hi Andy,

In your LFSLapper.lpr
#################################
# Local variable
# {SplitTime} - Split time
#################################
Sub TRI_split1_0()
cmdLFS( "/msg Great 1st split (" . $SplitTime . ") by " . $Nickname . "^8!" );
EndSub
Sub TRI_split1_1()
cmdLFS( "/msg Good 1st split (" . $SplitTime . ") by " . $Nickname . "^8!" );
EndSub

In your trackInfo.cfg
track = AS3
len = 5.6
car = FXR
MaxLapTime = 3.22.52
split1 = 0.44.97:0.45.64
lapTime = 1.41.76:1.43.28

The red one in trackinfo.cfg show the great 1st split in your LFSlapper.lpr
and The green one in trackinfo.cfg show the good 1st split in your LFSlapper.lpr

And your $PubStatIdk ="TH1sAFaK31XxP0p5YjJr7mP99GLgwiB5n"; is something like this.
You can get one on www.lfsworld.net - My LFSW setting - generate an additional Ident-Key.

Hi Tim,
Thanks for the time writing all that, I still cannot configure ConvWr.bat to actually connect, keep getting a login error. Is the following correct if I had a real idk, does it need speech marks around it or anything like that.

@echo off
rem ConvWr.exe -l licenseName -p pass -c coef -o outputFile
rem Or
rem ConvWr.exe -t idk -c coef -o outputFile
rem
rem coef = multiple coef possibility separated by ':'
rem ex : 100.5
rem : 100.5:101:101.5
rem licenseName =
rem pass =
rem idk = ?????????????????????????????????
rem
rem it's more safe to use idk instead of login/pass

rem ConvWr.exe -l yourLogin -p yourPass -o trackInfo.cfg -c 100.5:102 -mlc 200
ConvWr.exe -i yourIdk -o trackInfo.cfg -c 100.5:102 -mlc 200
pause

Thanks in advance
Andy King
S3 licensed
Quote from Andy King :If I press SHIFT+I I can press HIDE to stop lapper showing me splits and laptimes like before. Now Lapper only hides the original variables and not the new ones so HIDE doesn't hide everything anymore. You need to add new variables to HIDE config so racers can hide splits, laptimes like they used to.

Hi Gai,
Can you review this, if racers don't want to see Lapper Splits, Laptimes, SPB and AvgSpeed they cannot switch them off. If they press SHIFT+I and click Hide it doesn't hide any of the new variables I am using. This means Racers are being forced to see these timings.

Just had a Racer tell me the mouse cursor shows all the time with mouse steering and they think its because of Lapper, any ideas??

Can someone explain how to use the TrackInfo.zip file, I want to adjust my trackinfo.cfg using our servers PB.txt file like it says in ReadMe but cannot work out how to run it. Keep getting login errors about my pubstat access.
Last edited by Andy King, .
Andy King
S3 licensed
Hi Gai,
I have just had a brain wave about the time difference between racer infront and racer behind.

What about making LFSRelax's buttons more configurable like Lappers are. This means I could edit LFSRelax.cfg to suit my PitBoard, so it fits in seamlessly. I could then post it on my website and if racers wanted to use the RaceBoard part of my PitBoard they could download it and run LFSRelax.

Then both programs would compliment each other.

What do you think, good idea or what lol
Andy King
S3 licensed
Quote from Andy King :Hi All,
Don't know if this has been mentioned as looked thro thread and cannot find anything. The low fuel icon doesn't show using Test Edit Y31.

Instead of the fuel icon I now get a speech mark like this "

Hope this helps.

Hi Gai,
I know your busy with Lapper but any chance of you sorting this out as if you cannot add the +/- differences to Lapper for car infront and behind I am going to setup LFSRelax's cfg to work with my PitBoard so info shows in the right place in relation to PitBoard.

Thanks
Andy King
S3 licensed
Quote from Yisc[NL] :Sorry guys, for the first time is this project I really feel like an idiot.

mmm Been there and got the T-Shirt, Video, DVD and now Blue Ray lmao
Andy King
S3 licensed
Hi Gai,
Whats wrong with this line of code please.....

IF( $Nickname == "Unnamed"||"unnamed"||"Driver"||"driver"||"Racer"||"racer" )

It works on Unnamed but not on any of the others, as if its not recognising the || which means OR doesn't it.
Andy King
S3 licensed
Hi Gai,
Tried new version after I got in from work last night and was getting openprivbutton errors, not sure what errors as slept since then, will try again in a bit and report more accuratley.

BUG: `openPrivButton` parameter #1 is wrong type at line #89
This is line 89:
openPrivButton( "welc",25,50,150,15,12,-1,0,"^3Welcome " . $Nickname . " ^3to our Racing Server" );
If I comment it out with # the error just moves to next openPrivButton. Hope this helps.

BUG: Getting lots of host : 0 messages from Lapper in game, could be to do with above bug.


Quote :No fuel left work only for a local player.

Exactly and thats what I want for local player.


Quote :Ahead of drivers use very much memory

OK any chance of us having it available on each split and crossing start/finish like it is on a real PitBoard.


Gai come take a look at my PitBoard, its available to view at [AKM] Racing UK 2

Can someone explain how to use the TrackInfo.zip file, I want to adjust my trackinfo.cfg using our servers PB.txt file like it says in ReadMe but cannot work out how to run it. Keep getting login errors about my pubstat access.

Thanks for your dedication Gai its very much appreciated.
Last edited by Andy King, .
Andy King
S3 licensed
Quote from Andy King :BUG: All the new variables don't hide when using SHIFT+I to hide info.

If I press SHIFT+I I can press HIDE to stop lapper showing me splits and laptimes like before. Now Lapper only hides the original variables and not the new ones so HIDE doesn't hide everything anymore. You need to add new variables to HIDE config so racers can hide splits, laptimes like they used to.

Hope that explains it better.
Andy King
S3 licensed
Hi Gai,

That doesn't work either. I want to diplay negative numbers in green without the --- minus sign if posible and positive numbers in red so u can see at a glance by color if your faster on splits or lap. Sorted this and am happy with it

Is it possible to put all the code I have created in a seperate file and have Lapper use it from the file as the .lpr is getting massive..

Kick Unnamed WORKS lol saw one kicked tonight. Thanks Gai

BUG: All the new variables don't hide when using SHIFT+I to hide info.

Request: Can we have the variables that LFSRelax uses, Laps of Fuel Left, Time Behind and Ahead of drivers in Race Mode only so we can add these features to our PitBoards.

Thanks for all your help
Last edited by Andy King, .
Andy King
S3 licensed
Quote from Gai-Luron :IF( $DiffLapTimeToPB == 1 )

what do you want test? this isn't correct! i don't know what you espect from this test. Before time vars are considered like string, now no!

if you want test a difference of 1 s you can put

IF( $DiffLapTimeToPB == "0.01.00" )
or
IF( $DiffLapTimeToPB == 100 )

100 = 1/100 if second

because DiffLapTimeToPB is time type

Gai-Luron

Hi Gai,
I got the above code from your post http://www.lfsforum.net/showthread.php?p=863587#post863587 thats why I used it, it stopped working with latest version of lapper, it stopped showing GREEN Color if faster.

Thanks for all your help
Last edited by Andy King, .
Andy King
S3 licensed
Hi Gai,

Has the following code changed:

IF( $DiffLapTimeToPB == 1 ) THEN $color = "^2"; ELSE $color = " ^1"; ENDIF

I think the bit in red is wrong as worked fine in previous version.

Just found this:
Many modification and Upgrade in expression evaluator operator allowed:
+,-,/,*,^,==,!=,>,<,<=,>=

But unsure what some mean

Thanks
Andy King
S3 licensed
Hi All,
I have a headache with trying to solve this one so gonna post it here and go to bed, hopefully I will get up to an answer tomorrow....

Event OnSplit1()

I want to call a sub I created into here each time this event takes place.

EndEvent

Also what is the code numbers for a solid black background colour for a button or can you not use solid colours

Thanks guys
Andy King
S3 licensed

:laola:
Andy King
S3 licensed
Hi Gai,
The $DiffLapTimeToPB is working fine now, sorry typed it wrong. I only have one problem left now,

$AvgSpeed is showing unknown when using it in Event OnLap()

Edit: Just done some testing on a local to me server and $AvgSpeed works here on my server but exactly the same code won't work when I run it on my hosts server. Weird eh

Thanks for your time.
Last edited by Andy King, .
Andy King
S3 licensed
Quote from Gai-Luron :Hello,

$allow is optionnal.

if $allow not present all player can do command.

Gai-Luron

Hi Gai,
I understand that, what I am saying like Tim said is it isn't working anymore, they all used to but not with latest exe, seems something has got broken.

$diffLapTimeToPb is showing UNKNOWN

Request: Can you add $ServerName so we can use it like $LongTrackName, $ShortTime etc etc

Request: Any chance of us having a sync for the Ban List, this will enable me to ban users from all my servers immediatley as at the moment I have to copy the ban list from one server to the other 4. While I am doing this the nuissance driver is on one of my other servers creating havock.

Thankyou for your development with lapper, its getting massive lol
Andy King
S3 licensed
Hi Gai,

Register MsgAction("!ontrack",MA_ontrack);
Sub MA_ontrack()
$allow = "&./admin.txt";
cmdLFS( "/msg ^3If you ^1STOP ^3ontrack then expect to be ^1KICKED !");
EndSub

Some of my action commands won't work wether they need admin.txt or not, such as !powered !test !kick quite a few are broke.
Andy King
S3 licensed
Quote from Yisc[NL] :To Andy King:

Banlist doesn't need to be synchronised. I'm running 7 LFS-servers on one virtual machine and they all use the same ban-file without any problem.

Hi Yisc,
I have my servers with StormServers and each one has its own folder, each Lapper is serperate so what you quoted isn't always the case.
Andy King
S3 licensed
Hi Gai,

$diffLapTimeToPb is showing UNKNOWN

Thanks for adding it.

Request: Can you add $ServerName so we can use it like $LongTrackName, $ShortTime etc etc

Request: Any chance of us having a sync for the Ban List, this will enable me to ban users from all my servers immediatley as at the moment I have to copy the ban list from one server to the other 4. While I am doing this the nuissance driver is on one of my other servers creating havock.

While your in the mood for it lol
Andy King
S3 licensed
Quote from Yisc[NL] :I get the smell of a pitboard in my nose

STOP

Teasing

lol


Request: Any chance of us having a sync for the Ban List, this will enable me to ban users from all my servers immediatley as at the moment I have to copy the ban list from one server to the other 4. While I am doing this the nuissance driver is on one of my other servers creating havock.
Last edited by Andy King, .
Andy King
S3 licensed
Hi Gai,
I want to race against my own PB, so want lapper to display what my PB is on the track I am on then let it show me wether I am slower or faster than my PB.

Say my PB is 1:44:00 at AS3, I can display a button with that time in it.
Then next to it I display another button that shows on passing Split1, 2 and 3 wether I am + or - my best split for that sector, then as I cross start/finish I am shown + or - relative to my own PB.

Thanks
Andy King
S3 licensed
Hi Gai,
Is there a variable to display a drivers PB and then show the difference +/- to his PB while lapping through start/finish line.
Andy King
S3 licensed
Hi Gai,
:wow: your fast, I only went out to feed horses came back and we have 2 newer versions, cannot keep up with you lol.

:laola:

EDIT Yisc check your private messages

Thanks
Last edited by Andy King, .
Andy King
S3 licensed
Hi Yisc,
I like, infact I like alot, any chance of posting code so we can all use it.
Andy King
S3 licensed
Hi Gai,

Think this is a bug " . $LongTrackName . " doesn't work anymore, not tried any others as thats in my connect message so saw problem straight away.

Also I cannot get the Kick Unnamed to work and yes I logged in as NONE Admin before anyone says it lol.

Request: Can you add $ServerName so we can use it like $LongTrackName, $ShortTime etc etc
Last edited by Andy King, .
Andy King
S3 licensed
Hi Gai,
I got a feature request...

Is it possible to implement a rotational message system.

We all send messages using Lapper saying "Respect the BLUE FLAG at all times !" etc etc. Instead of using the Schedule could you implement it so we can rotate a list of messages say every 120 seconds or whatever to server.

If this sytem had 2 areas within itself....
1) Send messages through server to all drivers.
2) Send messages through rcm_all to cockpits.

This would give us the best of both worlds. We could add as many messages to each system as we wanted and the server wouldn't be flooded as only 1 message is sent every 120 seconds on a rotational system.

Thanks for all you help.
Last edited by Andy King, .
FGED GREDG RDFGDR GSFDG